package nature.nano.environment;

import nature.nano.component.PrimaryPipe;
import nature.nano.iface.Props;

public class StaticErrors extends PrimaryPipe {

	private static StaticErrors instance = new StaticErrors();
	
	@Override
	protected void anBegin(String type, Props props) {
		error().onBegin(type, props);
	}

	@Override
	protected void anContent(String content) {
		error().onContent(content);
	}

	@Override
	protected void anEnd(String type) {
		error().onEnd(type);
	}
	
	public static StaticErrors instance() {
		return instance;
	}

}
